net/url.Userinfo.Username (method)
8 uses
net/url (current package)
url.go#L337: func (u *Userinfo) Username() string {
url.go#L805: username := u.User.Username()
url.go#L875: ru.User = UserPassword(ru.User.Username(), "xxxxx")
net/http
client.go#L252: username := u.Username()
client.go#L1050: return strings.Replace(u.String(), u.User.String()+"@", u.User.Username()+":***@", 1)
transport.go#L1001: username := u.Username()
transport.go#L1840: Username: u.Username(),
golang.org/x/net/proxy
proxy.go#L85: auth.User = u.User.Username()
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |